package com.rainng.coursesystem.module.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rainng.coursesystem.module.system.dto.request.SysRoleDTO;
import com.rainng.coursesystem.module.system.entity.SysRole;
import org.apache.ibatis.annotations.Param;

public interface SysRoleMapper  extends BaseMapper<SysRole> {

    IPage<SysRoleDTO> paging(Page toPage, @Param("query") SysRoleDTO params);
}
